/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.PLKViolation.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.zaahir.assignment2.PLKViolation.Impl.University;
import za.ac.cput.zaahir.assignment2.PLKViolation.Impl.Course;
import za.ac.cput.zaahir.assignment2.PLKViolation.Impl.Subject;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class AppConf {
    @Bean 
    public University u()
    {
        return new University();
    }
    @Bean
    public Course uc()
    {
        return new Course();
    }
    @Bean
    public Subject s()
    {
        return new Subject();
    }
    
    
}
